Checks if a file info structure has an attribute named attribute.
attribute
a FileInfo.
a file attribute key.
true if this has an attribute named attribute, false otherwise.