An ESIPT-based fluorescent probe for sensitive detection of hydrazine in aqueous solution.