def METHOD_NAME(species: PrimalDinoCharacter, base: FloatProperty, tamed: bool) -> float:
    if not tamed:
        return base * species.UntamedWalkingSpeedModifier[0]
    else:
        return base * species.TamedWalkingSpeedModifier[0]