function ps_HasProjectors(ps) result(p) type(ps_t), intent(in) :: ps logical :: p ! p = (size(ps%nl_table) > 0) end function ps_HasProjectors