示例#1
0
    def is_renting_current_lot(sim_info: SimInfo) -> bool:
        """is_renting_current_lot(sim_info)

        Determine if a Sim is renting the current lot.

        :param sim_info: The Sim to check.
        :type sim_info: SimInfo
        :return: True, if the Sim is renting the active lot. False, if not.
        :rtype: bool
        """
        return sim_info.is_renting_zone(CommonLocationUtils.get_current_zone_id())
 def is_renting_current_lot(sim_info: SimInfo) -> bool:
     """ Determine if a Sim is renting the current lot. """
     return sim_info.is_renting_zone(
         CommonLocationUtils.get_current_lot_id())