Check conditions