CommonDBTM::maybePrivate PHP Method

maybePrivate() public method

Is the object may be private
public maybePrivate ( ) : boolean
return boolean
    function maybePrivate()
    {
        if (!isset($this->fields['id'])) {
            $this->getEmpty();
        }
        return array_key_exists('is_private', $this->fields) && array_key_exists('users_id', $this->fields);
    }
CommonDBTM