'Decide if the  passwd field is a passwd or a reference to shadow.
Evaluates the contents of the password field to determine how the password
is stored.
- If blank either no password is required or no access is granted.
This behavior is system and application dependent.
- If \'x\', the encrypted password is stored in /etc/shadow.
- Otherwise, the password is any other string, it\'s treated as an encrypted
password.
Args:
pw_attr: The password field as a string.
Returns:
An enum indicating the location of the password store.'

def GetPwStore(self, pw_attr):

    if (pw_attr == 'x'):
        return self.shadow_store
    return self.base_store
