code: public function getSupportedNamespaces() {
  		if ( empty( $this->data->namespaces ) || ! is_array( $this->data->namespaces ) ) {
  			return array();
  		}
  
  		return $this->data->namespaces;
  	}
docs: Get namespaces supported by the site.
  
  @return string[] List of namespaces supported by the site.