def assert_is_lat(val):
    """
    Checks it the given value is a feasible decimal latitude

    :param val: value to be checked
    :type val: int of float
    :returns:  `None`
    :raises: *ValueError* if value is out of latitude boundaries, *AssertionError* if type is wrong

    """
    assert type(val) is float or type(val) is int, 'Value must be a number'
    if val < -90.0 or val > 90.0:
        raise ValueError('Latitude value must be between -90 and 90')
