Human: Give me a Python function to check the length of the password. Assistant: 
Here is a Python function to check the length of password in the database

import sys

def check_password(password):
    """Checks if the password is correct.

    Args:
      password: The password to check.

    Returns:
      True if the password is correct, False otherwise.
    """
    if password == "password":
        return True
    return False

# Enter the string
password = "password"

# Calling the function
print((check_password(password)))

#Example Output
# True

#Remember to inspect code for bugs.