def is_from(category, symbol):
    """Checks if the symbol is from the category given.

    Args:
        category (dict): The dictionary of the category to check.
        symbol (str): The symbol or word given to analyze.

    Returns:
        bool: Whether the symbol is part of the category given.
    """
    
    try:
        category[symbol]
        return True
    except:
        return False