How check signal existence in time of calling presenter's createComponent?

mlha
Member | 58
+
0
-

Method ‘createMassiveForm’ creates a huge form with many db requests.
Does it possible to check component's signal there? Contruction of form is need only if form is “visible” (signal show or submit).

public function createComponentShiftBulkForm($name)
  {
    $form = new ShiftForm($this, 'shiftBulkForm', 320);
    $form->createMassiveForm(...);
  }