code: def linkify_one_command_with_commands(self, commands, prop):
          
          for i in self:
              command = getattr(i, prop, '').strip()
              if command:
                  setattr(i, prop, self.create_commandcall(i, commands, command))
              else:
                  # No defined command
                  setattr(i, prop, None)
docs: Link a command to a property (check_command for example)
  
          :param commands: commands object
          :type commands: alignak.objects.command.Commands
          :param prop: property name
          :type prop: str
          :param default: default command to use if the property is not defined
          :type default: str
          :return: None