import unicodedata


def is_unicode_category(character, category):
    """Return True if character belongs to the specified Unicode category"""
    if ord(character) > 127:
        return unicodedata.category(character)[0] == category

    return False