pub fn is_endpoint_name(name: &str) -> bool
Whether name is one of ENDPOINT_NAMES (any case).
name
ENDPOINT_NAMES