If an attachment ID was passed to the function, it will return the status of the parent post. If the attachment is not attached to any post, it will be considered published — the function will return publish.
A list of basic statuses in WordPress:
publish future draft pending private trash auto-draft inherit
Works based on: get_post()