Yeah, if you're just looking for a plain quote tag, then use bpat's code. If you're looking to test if the string contains a plain quote tag OR a [ quote=username] type of tag, then here's an example:
if( preg_match('/\[quote.*?\]/i', $string) ) {
// contains quote tag
} else {
// doesn't contain quote tag
}