There are various approaches, depending on the context.
:if there's a ( on the current line do foo :endif
You could use search(), as per @Kent's answer. It supports {stopline} argument, to avoid that it goes beyond the current line (which you can pass via line('.')). But it only searches in one direction (either forward or backward), so you'd have to position the cursor.
So it sounds like if getline('.') =~ '(' is a better test. It does a regular expression comparison of the current line with (. You could also use match() instead (look up any function via :help for the full API documentation and examples BTW), or a non-regexp stridx() (which might be faster, but also is less clear to read).
:if /searchtarget succeeds do bar :endif
Again, this sounds like a use for search(), which repositions the cursor on a match like /search. But you could also use the latter (with :normal), and check for a jump by comparing the cursor positions (obtained via getpos('.')) before and after the command.