def _assert_path_is_dir(self, dir_path):
        """Args:

        dir_path:

        """
        if not os.path.isdir(dir_path):
            raise django.core.management.base.CommandError(
                'Invalid dir path. path="{}"'.format(dir_path)
            )