TRUE if the task name is already defined.
# File rake.rb, line 643 def task_defined?(task_name) Rake.application.lookup(task_name) != nil end
<code/>
<pre/>
<code/>and<pre/>for code samples.