private function is_current_post_flexible( $post, $more ) {
		return $post instanceof \WP_Post && function_exists( 'get_field' ) && ( $more || is_search() || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) ) && ! post_password_required( $post );
	}
private function is_current_post_flexible( $post, $more ) {
		return $post instanceof \WP_Post && function_exists( 'get_field' ) && ( $more || is_search() || ( defined( 'REST_REQUEST' ) && REST_REQUEST ) ) && ! post_password_required( $post );
	}
private function is_current_post_flexible ( $ post , $ more ) { return $ post instanceof \ WP_Post && function_exists ( 'get_field' ) && ( $ more || is_search ( ) || ( defined ( 'REST_REQUEST' ) && REST_REQUEST ) ) && ! post_password_required ( $ post ) ; }
Check if current post is flexible.

@param \WP_Post $post Current post.
@param bool     $more More.
@return bool
Check if current post is flexible .