Is there an option for Rails sessions to exclude web crawlers and bots?

I’m interested in knowing whether a session is created by pages
requested by web crawlers and bots. I am using MySQL as a the session
store and would like to prevent requests by web crawlers and bots from
creating unnecessary session entries.