def _pred(aclass):
    """
    :param aclass
    :return: boolean
    """
    isaclass = inspect.isclass(aclass)
    return isaclass and aclass.__module__ == _pred.__module__
def _pred ( aclass ) : isaclass = inspect . isclass ( aclass ) return isaclass and aclass . __module__ == _pred . __module__
:param aclass
    :return: boolean