code: def is_optional(self):
          
          if (('optional' in self.attributes and bool(self.attributes['optional'].strip())) and
                  ('minValue' in self.attributes and self.attributes['minValue'] == 0)):
              return True
          else:
              return False
docs: Returns whether the parameter is optional or required
          :return: Return True if optional, False if required