hasComp method

bool hasComp()

Implementation

bool hasComp() {
  return comp != null;
}