def check_config_keys(config):
    """ Checks if the dictionary keys are valid.
    Returns a True boolean if all the required keys are present,
    Otherwise returns a False boolean.

    Keywork Arguments:
    config -- <Dictionary> Decoded JSON config dictionary 
    """

    db_config = config
    db_keys = ['user', 'password', 'host', 'database']
    if not all(key in db_config for key in db_keys):
        return False

    return True