Added python check code