public function isEmpty() {

        // return true if all properties are null
        return (is_null($this->name) && is_null($this->ANSICode) && is_null($this->XTermCode) && is_null($this->RGB));

    }
public function isEmpty() {

        // return true if all properties are null
        return (is_null($this->name) && is_null($this->ANSICode) && is_null($this->XTermCode) && is_null($this->RGB));

    }
public function isEmpty ( ) { // return true if all properties are null return ( is_null ( $ this -> name ) && is_null ( $ this -> ANSICode ) && is_null ( $ this -> XTermCode ) && is_null ( $ this -> RGB ) ) ; }
Return whether the object is empty
@return bool
Return whether the object is empty