is_repeatable() public method

Is this element repeatable or does it have a repeatable ancestor?
public is_repeatable ( ) : boolean
return boolean True if yes, false if no.
 /**
  * Is this element repeatable or does it have a repeatable ancestor?
  *
  * @return boolean True if yes, false if no.
  */
 public function is_repeatable()
 {
     if (1 != $this->limit) {
         return true;
     } elseif ($this->parent) {
         return $this->parent->is_repeatable();
     }
     return false;
 }