def maxSize(split, maxed):

    """
    Called by combinedCheck to ensure that a given cleavage or peptide is smaller than a given maxSize.

    :param split: the cleavage or peptide that is to have its size checked against max size.
    :param maxed: the max size that the cleavage or peptide is allowed to be.

    :return bool: False if the split is longer than maxed, True if it is shorter.
    """

    if len(split) > maxed:
        return False
    return True