The CoBank Customer Portal needs a lightweight validator for usernames before registration or profile updates. Implement a function that returns whether a proposed username satisfies all required formatting rules.
Given a string username, return True if it is valid and False otherwise. A valid username must:
Do not modify the input string. Treat uppercase and lowercase letters as valid without converting the username.
def is_valid_username(username):