LDN-1972: added hasFunctionFields().