A Practical Linear Time Algorithm for Trivial Automata Model Checking of Higher-Order Recursion Schemes