<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def heightmap_has_land_on_border(hm: np.ndarray, waterlevel: float) -> bool: """Returns True if the map edges are below ``waterlevel``, otherwise False. Args: hm (numpy.ndarray):
 A numpy.ndarray formatted for heightmap functions. waterLevel (float):
 The water level to use. Returns: bool: True if the map edges are below ``waterlevel``, otherwise False. """

    return bool(
        lib.TCOD_heightmap_has_land_on_border(_heightmap_cdata(hm), waterlevel)
    )