added hasImportedFunction().