from typing import Any
from typing import List
from typing import Optional


def is_present_in_list(value_to_check: Any, list_to_check_in: List[Any], message: str) -> Optional[bool]:
    """
    Checks for presence of value in list, raises ValueError, if the value is not present

    :type value_to_check: ``Any``
    :param value_to_check: value to check presence of
    :type list_to_check_in: ``List[Any]``
    :param list_to_check_in: list to check the presence of value
    :type message: ``str``
    :param message: message with which the ValueError will be raised with

    :rtype: ``bool``
    :returns: True, if the value is present
    """
    if value_to_check not in list_to_check_in:
        raise ValueError(message)
    return True