src/properties/class-papi-property.php
public function can_render() {
		// Check if current user can view the property.
		if ( ! $this->current_user_can() ) {
			return false;
		}

		// A disabled property should not be rendered.
		if ( $this->disabled() ) {
			return false;
		}

		// Check language option, so we don't render properties on a different language.
		if ( $lang = $this->get_option( 'lang' ) ) {
			return in_array( papi_get_lang(), papi_to_array( $lang ), true );
		}

		// If no valid lang query string exists we have to override the display property.
		return $this->get_option( 'lang' ) === false;
	}
public function can_render() {
		// Check if current user can view the property.
		if ( ! $this->current_user_can() ) {
			return false;
		}

		// A disabled property should not be rendered.
		if ( $this->disabled() ) {
			return false;
		}

		// Check language option, so we don't render properties on a different language.
		if ( $lang = $this->get_option( 'lang' ) ) {
			return in_array( papi_get_lang(), papi_to_array( $lang ), true );
		}

		// If no valid lang query string exists we have to override the display property.
		return $this->get_option( 'lang' ) === false;
	}
Determine if the property can be rendered or not.

@return bool