from typing import Dict
from typing import Any


def has_key(dictionary: Dict[str, Any], key: str) -> bool:
    """
    Check whether dictionary has given key is present or not

    :param dictionary: Dictionary that need to check if key present or not
    :param key: Key value that need to check
    :return: Boolean value based on given key is present in the dictionary
    """
    if key in dictionary.keys():
        return True
    return False