import re


def is_sequence(sequence):
    """
    Checks if sequence is only made up of ATCG's
    :param sequence: Sequence to be checked
    :return: boolean
    """
    valid = re.compile('^[ATCG]+$', re.IGNORECASE)
    return valid.match(sequence)