def is_enabled(self):
        'Whether the command is available or not.'
        return 'php' in self.view.settings().get('syntax').lower()
dataset/ETHPy150Open erichard/SublimePHPCompanion/php_companion/commands/insert_php_constructor_property.py/InsertPhpConstructorPropertyCommand.is_enabled/original