Question: how can the legislative branch check on the judicial branch?
Answer: The legislative branch makes laws, but the President in the executive branch can veto those laws with a Presidential Veto.
The legislative branch makes laws, but the judicial branch can declare those laws unconstitutional.