parameters: (base: MessageOrDescriptorBase,
                    test: MessageOrDescriptorBase)
return_statement: return base_structure_def_url in fhir_profile_base
docstring: Returns True if test is a profile of base.
  
    Args:
      base: A protobuf Message or DescriptorBase.
      test: A protobuf Message or DescriptorBase to validate against base.
  
    Returns:
      True if test is a profile of base, otherwise False.
  
    Raises:
      ValueError: Unable to retrieve options for type: <type>.
docstring_summary: Returns True if test is a profile of base.
docstring_tokens: Returns True if test is a profile of base .
function: def is_profile_of(base: MessageOrDescriptorBase,
                    test: MessageOrDescriptorBase) -> bool:
    """Returns True if test is a profile of base.
  
    Args:
      base: A protobuf Message or DescriptorBase.
      test: A protobuf Message or DescriptorBase to validate against base.
  
    Returns:
      True if test is a profile of base, otherwise False.
  
    Raises:
      ValueError: Unable to retrieve options for type: <type>.
    """
    base_structure_def_url: Optional[str] = get_structure_definition_url(base)
    if base_structure_def_url is None:
      return False
  
    fhir_profile_base: Optional[List[str]] = get_value_for_annotation_extension(
        test, annotations_pb2.fhir_profile_base)
    if fhir_profile_base is None:
      return False
  
    return base_structure_def_url in fhir_profile_base
function_tokens: def is_profile_of ( base : MessageOrDescriptorBase , test : MessageOrDescriptorBase ) -> bool : base_structure_def_url : Optional [ str ] = get_structure_definition_url ( base ) if base_structure_def_url is None : return False fhir_profile_base : Optional [ List [ str ] ] = get_value_for_annotation_extension ( test , annotations_pb2 . fhir_profile_base ) if fhir_profile_base is None : return False return base_structure_def_url in fhir_profile_base