@property
    def should_poll(self):
        return self._command_state is not None
Initializes the directory object.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/rollershutter/command_line.py/CommandRollershutter.should_poll--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/vfs/sqlite_blob_file_entry.py/SQLiteBlobDirectory.__init__