<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def serial(self):
 """Returns true if the CI server should run in serial mode. """

        serial = self.property_get("SERIAL", False)
        if isinstance(serial, str):
            return serial.lower() == "true"
        else:
            return serial