def check_type(lp):
    """
    check the type of the launchpad
    :param lp: launchpad object
    :return: name of launchpad type
    """
    if lp.Check(0, "pro"):
        print("Launchpad Pro")
        return "Pro"

    elif lp.Check(0, "mk2"):
        print("Launchpad Mk2")
        return "Mk2"

    else:
        print("Launchpad Mk1/S/Mini")
        return "Mk1"