def raise_if_invalid_object_id(object_id: int) ->None:
    """Checks if `object_id` is a valid id.

    A valid id is an integer, higher than 0.

    Args:
        object_id (int): Unique identifier, referencing to data-entry
                      inside the database.

    Raises:
        ValueError: If the `object_id` is not a valid id.
    """
    if object_id < 1:
        raise ValueError('The `object_id` must be 1 or higher.')
