Extract check function