def is_admin(href):
    """Returns True if provided href has /api/admin into it.

    :param str href: href

    :return: True if admin else False

    :rtype: Boolean
    """
    if '/api/admin/extension/' in href:
        return False
    elif '/api/admin/' in href:
        return True
    else:
        return False
