def are_same_age_and_species(sim_info: SimInfo, other_sim_info: SimInfo) -> bool: """are_same_age_and_species(sim_info, other_sim_info) Determine if two Sims are the same Age and the same Species. :param sim_info: The Sim to check. :type sim_info: SimInfo :param other_sim_info: The other Sim to compare to. :type other_sim_info: SimInfo :return: True, if both Sims are the same Age and Species. False, if they are not. :rtype: bool """ return CommonAgeUtils.are_same_age( sim_info, other_sim_info) and CommonSpeciesUtils.are_same_species( sim_info, other_sim_info)
def are_same_age_and_species(sim_info: SimInfo, other_sim_info: SimInfo) -> bool: """ Determine if two Sims are the same Age and the same Species. """ return CommonAgeUtils.are_same_age(sim_info, other_sim_info) and CommonSpeciesUtils.are_same_species(sim_info, other_sim_info)