def check_valid_indicator_type(indicator_type: str,
                               api_query_params: list) -> bool:
    """
    :param indicator_type: indicator type provided in the command
    :param api_query_params: HYAS API Endpoint query params constant defined
    :return: True if the indicator type is valid

    """
    if indicator_type not in api_query_params:
        raise ValueError(
            f'Invalid indicator_type: {indicator_type}, Valid indicator_type are {api_query_params}')
    return True