def _is_management_command(self, cmd):
        return cmd in ("runserver", "shell")
Take a string argument and return boolean of its a command.
dataset/ETHPy150Open amitu/importd/importd/__init__.py/D._is_management_command