def METHOD_NAME(obj):
    """
    Check if obj is a package. Simply look for whether its a module whose
    filename is __init__.py(c)
    Parameters
    ----------
    obj : module
    """
    if ismodule(obj):
        return obj.__file__.endswith("__init__.pyc") or \
            obj.__file__.endswith("__init__.py")
    return False