You never know if you're a writer. You can't trust it. If you woke up and said 'I'm a writer ' it would be gone. You wouldn't see anything for miles - even the dust would be running away.
I'm one of those people who is actually inspired by a deadline. I might not sleep for many days on end it may not be good for my health but it definitely helps.