

def _is_management_command(self, cmd):
    'Take a string argument and return boolean of its a command.'
    return (self in ('runserver', 'shell'))

dataset/ETHPy150Open amitu/importd/importd/__init__.py D._is_management_command/VarMisuse@16/42 `cmd`->`self`