[core] check flash content type