code: public function isTriggeredBy($methodName)
      {
          foreach ($this->triggers as $trigger) {
              if ($trigger->isEqualTo($methodName)) {
                  return true;
              }
          }
  
          return false;
      }
docs: @param $methodName
  @return bool
  
  @api