isPassword constructors