How would you implement a function to check for balanced parentheses?
Implement is_balanced(s), where s contains only ( and ). Return True when every opening parenthesis is closed in the correct order, and False otherwise. An empty string is balanced.
sdef is_balanced(s):