import re


def is_emoji(text: str) -> bool:
    """ Checks if a given string is an emoji. """
    emoji_pattern = re.compile(
        u'([\U0001F1E6-\U0001F1FF]{2})|' # flags
        u'([\U0001F600-\U0001F64F])'     # emoticons
        "+", flags=re.UNICODE)
    
    if not re.search(emoji_pattern, text):
        return False
    return True