def check_credentials(cluster_config):
    """
    Check if the credentials are even correct.

    Args:
        cluster_config: cluster specific config

    Returns:
        True or false if it receives a successful health check
    """
    try:
        cluster_config['es'].cluster.health(request_timeout=300)
    except Exception as e:
        return False

    return True