Door.is_walkable#

Door.is_walkable() bool#

Return the walkability of a door, as determined by its state. The agent can only walk through the door if it is open.

Returns:

Returns True if the state of the door is 0, False otherwise.

Return type:

bool