public function exclusivelySingleOrMultiple()
    {
        if (count($this) === 0) {
            return false;
        }

        foreach (array_keys($this->getDataPlaceHolder()) as $key) {
            $v = $this[$key];

            if ($v instanceof RecordContainer || $v instanceof OrderedContainer) {
                return false;
            }
        }

        return true;
    }
public function exclusivelySingleOrMultiple()
    {
        if (count($this) === 0) {
            return false;
        }

        foreach (array_keys($this->getDataPlaceHolder()) as $key) {
            $v = $this[$key];

            if ($v instanceof RecordContainer || $v instanceof OrderedContainer) {
                return false;
            }
        }

        return true;
    }
public function exclusivelySingleOrMultiple ( ) { if ( count ( $ this ) === 0 ) { return false ; } foreach ( array_keys ( $ this -> getDataPlaceHolder ( ) ) as $ key ) { $ v = $ this [ $ key ] ; if ( $ v instanceof RecordContainer || $ v instanceof OrderedContainer ) { return false ; } } return true ; }
Wether the collection contains only Single primitive values or MultipleContainer objects.

* If the collection of operands is empty, false is returned.
* If the collection of operands contains a RecordContainer object, false is returned.
* If the collection of operands contains an OrderedContainer object, false is returned.
* In any other case, true is returned.

@return boolean
Wether the collection contains only Single primitive values or MultipleContainer objects .