def pyth_triplet_test(triplet):
    """
    Checks if a given list of 3 integers is a pythagorean triplet

    :param triplet: List of 3 integers to be tested
    :returns: 'True' if 'triplet' is a pythagorean triplet, 'False' if not
    """
    if triplet[0]**2 + triplet[1]**2 == triplet[2]**2:
        return True
    else:
        return False