[Fix] Fixed stupid server runtime error bug due to undefined function isFunction. Don't copy-paste again, Peter, okay?