Added feature for checking whether function was found