Paradox/Toolbox.php
public function validatePod($pod)
    {
        if ($pod instanceof  AModel) {
            $pod = $pod->getPod();
        }

        if ($pod->compareToolbox($this)) {
            return true;
        } else {
            throw new ToolboxException("The pod/model does not belong to this toolbox.");
        }
    }
public function validatePod($pod)
    {
        if ($pod instanceof  AModel) {
            $pod = $pod->getPod();
        }

        if ($pod->compareToolbox($this)) {
            return true;
        } else {
            throw new ToolboxException("The pod/model does not belong to this toolbox.");
        }
    }
Checks to see if the pod belongs to this toolbox.
@param AModel|Document $pod The pod to validate.