How to determine if the current page is a search results page? How can I determine from within a module or theme if the current page is an Apache solr search results page?
If you're trying to determine from a module then you can check if the page is the search results page via the path arguments using the arg() function.

if (arg(0) == 'search') {
  TRUE
}
else {
  FALSE
}