pub fn can_project( schema: &SchemaRef, projection: Option<&Vec<usize>>, ) -> Result<()>
Checks if the given projection is valid for the given schema.