[SRM271] CheckFunction by Kaiyang Lv