[calc] Checking on whether a patch was applied