0 out of 464 challenges solved
Write a function `is_dict_empty` that checks if a given dictionary is empty. The function should return `True` if the dictionary is empty and `False` otherwise. #### Example Usage: ```python [main.nopy] print(is_dict_empty({})) # Output: True print(is_dict_empty({'key': 'value'})) # Output: False ``` #### Requirements: - The function should accept a single argument, which is the dictionary to check. - Use Python's built-in capabilities to determine if the dictionary is empty.
def is_dict_empty(input_dict): """ Check if the given dictionary is empty. Args: input_dict (dict): The dictionary to check. Returns: bool: True if the dictionary is empty, False otherwise. """ # Write your code here pass