def check_connection(connection):
    """
    Check a connection is available
    
    @Args:
    * [connection] if connection is alive return True

    @Returns:
    * [bool]
    """
    try:
        connection.ping(True)
        return True
    except:
        return False
