Is there a role for vitamin D in supporting cognitive function as we age?

Is there a role for vitamin D in supporting cognitive function as we age?