Added hasKeywordParameter method to AbstractFunction